package com.itheima.controller;

import com.itheima.pojo.DeptLog;
import com.itheima.service.DeptLogService;
import com.itheima.service.impl.DeptLogServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DeptLogController {

    @Autowired
    private DeptLogService deptLogService;

    void insert(DeptLog deptLog){
        deptLogService.insert(deptLog);
    }
}
